---
layout: "default"
title: "Mirror.DisplayStyle"
description: "Swift documentation for 'Mirror.DisplayStyle': A suggestion of how a Mirror&#39;s subject is to be interpreted."
keywords: "Mirror.DisplayStyle,enum,swift,documentation"
root: "/v3.0"
---

<div class="intro-declaration"><code class="language-swift">enum Mirror.DisplayStyle</code></div>

<div class="discussion comment">
    <p>A suggestion of how a <code>Mirror</code>&#39;s <code>subject</code> is to be interpreted.</p>

<p>Playgrounds and the debugger will show a representation similar
to the one used for instances of the kind indicated by the
<code>DisplayStyle</code> case name when the <code>Mirror</code> is used for display.</p>
</div>

<table class="standard">



<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>

<h3 id="cases">Cases</h3>
<div class="declaration" id="case-`struct`">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-`struct`">case `struct`</a>
</div>
<div class="declaration" id="case-`class`">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-`class`">case `class`</a>
</div>
<div class="declaration" id="case-`enum`">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-`enum`">case `enum`</a>
</div>
<div class="declaration" id="case-tuple">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-tuple">case tuple</a>
</div>
<div class="declaration" id="case-optional">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-optional">case optional</a>
</div>
<div class="declaration" id="case-collection">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-collection">case collection</a>
</div>
<div class="declaration" id="case-dictionary">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-dictionary">case dictionary</a>
</div>
<div class="declaration" id="case-set">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-set">case set</a>
</div>








